if(${IDF_TARGET} STREQUAL esp32)
endif()

set(REQUIRES "log" "driver" "esp_timer")
set(SOURCES "rotary_encoder.c")

idf_component_register(
    SRCS ${SOURCES}
    INCLUDE_DIRS "include"
    REQUIRES ${REQUIRES}
)